package com.itqf.service;

import com.itqf.entity.ScheduleJob;
import com.itqf.utils.R;

import java.util.List;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/10/21
 * @Time: 上午9:18
 */
public interface ScheduleJobService {

    public R  scheduleJobList(int limit,int offset,String search,String order);
    //Scheduler  quartz调度器
    //ScheduleJob  我们自定义的代表一个任务的实体
    public  R saveScheduleJob(ScheduleJob scheduleJob);

    public   R  scheduleInfo(long id);
    public  R updateScheduleJob(ScheduleJob scheduleJob);

    public  R deleteScheduleJob(List<Long> ids);

    public  R  pauseScheduleJob(List<Long> ids);

    public  R resumeScheduleJob(List<Long> ids);

    public  R  runOneScheduleJob(List<Long> ids);






}
